
package Event.lib;

import Creature.Player;
import Event.Story;




/**
 *
偷吃外卖事件，发生在送外卖途中

 */


public class StealTakeOut extends Story {
    public StealTakeOut(Player player) {
        super(player);
        eventName = "偷吃外卖";
        happenText = "叮铃铃，突然接到了订单。你踏上了共享单车，看着外卖上的单子：”已使用消费券1000-5“ 闻了闻感觉是某位贵人点的大餐，自己嘴角逐渐留下了不争气的眼泪。。。";

        options = new String[]{"尝一点", "不做任何事", "撕了往里面吐口水"};




    }

    public void eventHappen(int option) {

        switch (option) {
            case 0:
                endText = "给外卖口袋撕了个小口，然后尝了一点，感觉味道还不错~~ 再把口子给粘上";
                player.setHungry(player.getHungry()+2);
                player.setSan(player.getSan() - 10);
                break;


            case 1:
                endText = "坚守职业道德，勿以恶小而为之!";
                player.setSan(player.getSan() + 10);
                break;


            case 2:
                endText = "平生最恨这些有钱人！此乃士之怒也！！！！";
                player.setSan(player.getSan() - 20);
                player.setFatigue(player.getFatigue() + 1);
                break;


        }
    }
}